//
//  JWTSlideTapView.m
//  JWT
//
//  Created by ndm on 17/2/8.
//  Copyright © 2017年 com.jwtsoft. All rights reserved.
//

#import "JWTSlideTapView.h"

@implementation JWTSlideTapView

-(instancetype)initWithFrame:(CGRect)frame{
    self = [super initWithFrame:frame];
    if (self) {
        //        self.backgroundColor = RGB(255 , 11, 197);
        self.backgroundColor = HeaderBackground_Color;
        CGRect rect = [[UIScreen mainScreen] bounds];
        _weekLabel = [[UILabel alloc] initWithFrame:CGRectMake(0, 0, UISCREEN_WIDTH/7, 24)];
        _weekLabel.textColor = [UIColor whiteColor];
        _weekLabel.textAlignment = NSTextAlignmentCenter;
        _weekLabel.font = Text_Font14;
        [self addSubview:_weekLabel];
        
        _dateLabel = [[UILabel alloc] initWithFrame:CGRectMake(0, _weekLabel.frame.origin.y+_weekLabel.frame.size.height, rect.size.width/7, 18)];
        _dateLabel.text = @"2.2";
        _dateLabel.textColor = [UIColor whiteColor];
        _dateLabel.textAlignment = NSTextAlignmentCenter;
        _dateLabel.font = Text_Font12;
        [self addSubview:_dateLabel];
    }
    return self;
}

@end
